/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 *
 */

jQuery(function($) {
	loadData();
});

function loadData(){
	var data = $("#roleQueryForm").serialize();
	$.ajax({
		type:"POST",
		url:dataUrl,
		data:data,
		cache:false,
		success:function(data){
			$("#context").html(data);
		}
	});
}

function seeDetail(id){
    window.location.href = 'modifyRole?id=' + id;
}

function addRole() {
	window.location.href = 'addRole';
}
